package com.example.listTest;

import java.io.UnsupportedEncodingException;
import java.nio.charset.StandardCharsets;
import java.util.HashMap;

/**
 * description: ArrayListTest01 <br>
 * date: 2021/7/30 13:41 <br>
 *
 * @author: ZhangYixin <br>
 * version: 1.0 <br>
 */
public class ArrayListTest01 {

    public static void main(String[] args) throws UnsupportedEncodingException {
       /* ArrayList<String> strings = new ArrayList<>(20000000);
        for (int i = 1; i <= 2147483647; i++) {
            strings.add("sp");
            if (i % 1000000 == 0){
                System.out.println("插入第【"+i+"】个值进入list完成");
            }
        }*/
        String stringA = "支付宝支付";

        HashMap<String, String> hashMap = new HashMap<>();
        hashMap.put("key1","value1");
        hashMap.put("key2","value2");

        System.out.println(stringA);
        System.out.println(new String(stringA.getBytes(StandardCharsets.UTF_8)));
    }

}
